home *** CD-ROM | disk | FTP | other *** search
- Path: ns.neckar-alb.de!wiedmann
- From: wiedmann@wiedmann.neckar-alb.de (Jochen Wiedmann)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: GCC C++ questions
- Date: 17 Mar 1996 22:48:11 GMT
- Organization: ISS Internet Service Stuttgart GmbH
- Message-ID: <4ii4rb$8oe@iss1.neckar-alb.de>
- References: <314c6829@usura.metropolis.nl>
- Reply-To: wiedmann@neckar-alb.de
- NNTP-Posting-Host: wiedmann.neckar-alb.de
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hello, Jurjen,
-
- : This compiles OK, but the executable is 69KB! A bit too large, IMHO. ;-) I
- : understand that GCC uses ixemul.library, and that there is another library
- : that's better for programs not ported from UN*X, namely libnix.library. So,
- : how do I install libnix.library (the docs say "don't forget to link it")?
- : I don't know how to "link" it.
-
- You can, of course, use the "-noixemul" switch with both gcc and g++,
- but this won't help:
-
- libstdc++ and libg++ are using there very own stdio which is far away from
- that of both ixemul.library and libnix. Thus your are forced to include
- almost all i/o related code from this libraries which results in big code,
- at least big for a hello-world.
-
- This won't ever be fixed as long as noone is writing an Amiga related
- libg++-replacement. I doubt this will ever happen.
-
-
- You are not the first one who claims about this and you are not the first one
- who is overestimating this fact. Usually you won't use g++ for smaller
- projects, but for bigger projects and an additional amount of some 64 KByte
- really isn't that important if the executable is 500KByte or more.
-
- Drop g++ or accept it - there's no way around.
-
-
- Jochen
-